A contractor found guilty of a violation of this subchapter shall not bring an action:
(1) In law or equity to enforce any provision of a contract entered into in violation of this subchapter; or
(2) For quantum meruit.