Governor signs cold medicine measure into law