(a) Any public entity which, by a valid exercise of its police power, has in effect any control or system of control on the price at which accommodations are offered for rent or lease, may require by statute or ordinance, or by regulation as specified in Section 7060.5, that the owner notify the entity of an intention to withdraw those accommodations from rent or lease and may require that the notice contain statements, under penalty of perjury, providing information on the number of accommodations, the address or location of those accommodations, the name or names of the tenants or lessees of the accommodations, and the rent applicable to each residential rental unit. Information respecting the name or names of the tenants, the rent applicable to any residential rental unit, or the total number of accommodations, is confidential information and for purposes of this chapter shall be treated as confidential information by any public entity for purposes of the Information Practices Act of 1977 (Chapter 1 (commencing with Section 1798) of Title 1.8 of Part 4 of Division 3 of the Civil Code). A public entity shall, to the extent required by the preceding sentence, be considered an "agency," as defined by subdivision (d) of Section 1798.3 of the Civil Code.