The following persons may file an affidavit to perfect a restitution lien:
- (1) the attorney representing the state in a criminal case in which a victim is determined by the court to be entitled to restitution or in which a defendant is ordered to pay fines or costs; or
- (2) a victim in a criminal case determined by the court to be entitled to restitution.