Bill is to prevent offenders from using loopholes and void nondisclosure agreements when there's sexual misconduct