In the process of installing or repairing any part of a plumbing and drainage installation, the finished floors, walls, ceilings, tile work or any other part of the building or premises that must be changed or replaced shall be left in a safe structural condition and shall maintain required fire resistance in accordance with the requirements of the building code.