The CDC has confirmed the infections in 31 states.