338. In accordance with the terms and conditions prescribed by regulation, the security shall be used , first, to compensate any consumer who has a claim against the person who gave the security or his representative, then, to pay the fine imposed on him.