Any person, firm, or corporation violating any of the provisions of section 511.22, sections 515.8 through 515.10, or section 515.23 or failing to comply with any of the provisions in those sections, shall be subjected to the penalties provided in sections 507.10 and 507.12.