The mask would likely need to be heated on a head form to reset it back to usable shape. You would need to hand wash or otherwise shake out all of the original foam to stop that.
eBay