The 45-year-old Minnesota man also engaged in "sexually charged chats with children" as young as 10, a prosecutor said.