Hi, If it is a "closed cell" type foam (hard) you will probably be OK. If it is the soft flexible stuff, it may absorb water/ moisture which then may get moldy. Perhaps you should take steps to try to quiet down the system (if you haven't already). If you have concerns about the moisture, line it with 6mil vapour barrier, seal it with the proper tape (red stuff I think) just like a house then install a small fan with vent holes to ventillate the cabinet. Although ventilating it would probably allow noise out/ increase noise with fans. If its not ventilated, you may end up with salt building up in some new spots, just stay on top of it and keep it clean.