Consent/consequences (Iowa)

So I'm 17, and the guy I'm talking to is 21. We were together last night but didn't go as far as to have sex. All of the stuff I've read (yes on the Internet, have tried going with trusted sites, but can't find anything past 16) has said consent is 16 but it doesn't say anything like if there's still consequences until I'm 18 (besides the federal crime of child pornography if I were to send him anything since I'm technically still a minor). Does anyone know anything helpful or can point me in the right direction. 
Just want to be sure that he's safe from getting into trouble (he's in the military as well), my parents would be fine with it so I don't think there would be a problem there.
Thanks guys!