Parents would have to specifically object to the lessons under the terms of proposed legislation.