If I had sex with a 17 year old 5-10 years ago can I still get in trouble?
It would be unlikely since the age of consent in Minnesota for most purposes is 16 years of age. The exception would be if you were in a position of authourity with regard to the 17 year old such as a teacher or coach.