Well, I suppose the simplest solution is that they declare their passports lost or stolen and ask for new ones before getting to the US.
The new passports won't have traces of their entering Iran, and the US will not get their hands on the old passports and never know they were in Iran.