Gee, if foam is wet, it needs to come out, and be replaced with dry foam. Of course, that means cutting out enough of the deck to dig out the wet stuff. You may find that more of the foam is wet (likely all of it), so when cutting out the deck, plan to cut it all out, and maybe you will not...