Liens arising under N.H. Rev. Stat. § 165:28 or N.H. Rev. Stat. § 165:28-a may be enforced by a bill in equity.