(a) Except as provided by Subsection (b), any change in the use of the real estate does not affect a broker's lien if the notice of the lien was filed when the real estate was commercial real estate.
(b) The broker's lien is extinguished if:
(1) not later than the 360th day after the date on which the broker's commission is payable, the commercial real estate interest on which a broker claims a lien is zoned for single-family use or restricted for single-family use under recorded restrictive covenants; and
(2) the zoning ordinances or restrictive covenants for single-family use are in effect until at least the second anniversary of the date the commission is payable.