For any damages occasioned by stock running at large in violation of § 44-8-401, the person so damaged shall have a lien upon the stock, which lien shall be enforced by attachment before a judge of the court of general sessions in the same manner and to the same extent as other liens are enforced.