A bill that could change what books children can access in schools and public libraries is moving forward after a close 27-20 vote in the Senate.