The lien shall take precedence over all other subsequently recorded liens or encumbrances except taxes and liens for assessments filed by an association of a common interest community under section 47-258 and may be foreclosed against the lot or building served in the same manner as a lien for taxes.