"Department" shall mean the department, bureau, division, agency or person, including any joint agency, of a county, city, town or village, charged with the enforcement of the applicable building code, multiple dwelling law, multiple residence law or other law, as defined in section three of this act, relating to the construction, maintenance and use of buildings, structures or other real property and to the control of land uses in such county, city, town or village.
"Owner" shall mean the owner or owners of the freehold of the premises or any lesser estate therein, a mortgagee or vendee in possession, an assignee of rents, a receiver, executor, trustee, lessee, agent or other person, firm or corporation directly or indirectly in control of a building, structure or other real property.
No provision of this subdivision shall be construed or interpreted as affecting the validity of any ordinance enacted prior to July first, nineteen hundred sixty-six, or actions taken thereunder by the government of any county, city, town or village.
N.Y. Defense Emergency Act 1951 Law § 38