(b) Except as provided in [[Section 7031(e)|subdivision (e)]], a person who utilizes the services of an unlicensed contractor may bring an action in any court of competent jurisdiction in this state to recover all compensation paid to the unlicensed contractor for performance of any act or contract.