Any building, used in the commission of an offense specified in Section 37-1 of this Act with the intentional, knowing, reckless or negligent permission of the owner thereof, or the agent of the owner managing the building, shall, together with the underlying real estate, all fixtures and other property used to commit such an offense, be subject to a lien and may be sold to pay any unsatisfied judgment that may be recovered and any unsatisfied fine that may be levied under any Section of this Article and to pay to any person not maintaining the nuisance his damages as a consequence of the nuisance; provided, that the lien herein created shall not affect the rights of any purchaser, mortgagee, judgment creditor or other lien holder arising prior to the filing of a notice of such lien in the office of the recorder of the county in which the real estate subject to the lien is located, or in the office of the registrar of titles of such county if that real estate is registered under "An Act concerning land titles" approved May 1, 1897, as amended; which notice shall definitely describe the real estate and property involved, the nature and extent of the lien claimed, and the facts upon which the same is based. An action to enforce such lien may be commenced in any circuit court by the State's Attorney of the county of the nuisance or by the person suffering damages or both, except that a person seeking to recover damages must pursue his remedy within 6 months after the damages are sustained or his cause of action becomes thereafter exclusively enforceable by the State's Attorney of the county of the nuisance.
720 ILCS 5/37-2