You could always go the route of Poseidon and their rubber antifreeze caps, which we frequently used as an environmental barrier, in questionable water, regardless of the temperature (usually recommended for 6˚C and colder). Sometimes, collecting samples in harbors, was analogous to swimming through thinned chocolate pudding; and you wouldn't believe the amount of crap that would accumulate, within the "secondary chamber” and require a serious hosing.
The caps didn't have to be filled, while in shallow water, since they were readily compressible; though Poseidon recommended either vodka or a glycerin / alcohol mixture, for any dives at or below 40 meters, when the caps would otherwise be so compressed and the regulator, frighteningly -- according to the old manual -- rendered no longer breathable. I took down "empty" antifreeze caps, to about 30 meters, without any noticeable breathing issues, since the small amount of trapped, compressed air inside, allowed for sufficient “compensation.”
The other, more involved version (see photo), which was also used for years, included a vented metal or Delrin cap, fitted with a replaceable diaphragm, over a new assembly which replaced the entire top of the regulator, including the adjustment screw. The IP had to be wholly reset with the new parts, and the chamber filled with a 1:1 glycerin / alcohol mixture. The vented cap was then placed on top -- and its seated membrane contained the antifreeze fluid and effectively isolated it from the surrounding water . . .