New laws signed to restrict sex offenders access to public libraries