The legislature gave final approval to a bill that would forbid a requirement of proof of vaccination when people go to certain places.