The provision, included in a new state law being considered on public safety and security, is supposed to protect people such as police officers and emergency medical technicians whose jobs include a particularly high rate of infection, , officials said.