I live in a county that has no codes. When doing a new construction I always write the contract that it has to be built according to XXX code. The county that does have strict codes and inspections. Bathrooms do not have to be sealed like yours but a good builder will use greenboard drywall which is moisture resistant.
Edited to add: Your new bathroom looks wonderful!