A state senator wants to bar employers from using credit scores as a basis for hiring prospective employees or firing existing workers.