“I will no doubt get some jokes made about me,” said Republican state Sen. John Kavanagh, the bill’s sponsor.