A 26-year-old man has been ordered to federal prison for soliciting sex from a minor