No claim of invalidity of this Zoning Ordinance arising out of any possible defect in the procedure of adoption or amendment shall be made in any legal proceeding and no state, regional, county or municipal officer shall refuse, deny or revoke any permit, approval or certificate because of any such claim of invalidity unless, within 120 days after adoption of this ordinance or amendment, legal action is commenced within the time period specified in Chapter 40 and notice specifying the court, parties, invalidity claimed and date of filing is filed, together with a copy of the petition, with the City Clerk within seven days after commencement of the actions. All procedures not stated herein but stated in the Massachusetts Zoning Act shall be governed by the Zoning Act as may be amended from time to time.