When judgment is rendered in the action or proceeding against the party who filed the notice of the pendency thereof, the judgment shall order the cancellation of the notice at the expense of the party who filed it, and as part of the costs of the action or proceeding. Nevertheless, the notice of pendency filed in connection with the proceeding which gave rise to the judgment shall be canceled at the request of any interested party if the judgment has been canceled or if the action or proceeding has been dismissed.
Acts 1999, No. 870, §1.