All domestic vessels shall be subject to a lien to any part owner or other person to secure the payment of debts contracted and advances made for labor and materials necessary for their repair, provisions, stores and other supplies necessary for their employment, and for the use of a wharf, dry dock or marine railway. Such lien shall in no event continue for a longer period than 2 years from the time when the debt was contracted or advances made.
10 M.R.S. § 3851