Moisture control comes first
The EPA recommends fixing the water or moisture problem and drying wet materials. That is why the planner puts source control and measured drying before remediation, insulation replacement, structural work, or encapsulation.
Read the EPA mold and moisture guide