No person, partnership, association or corporation acting as a real estate licensee shall bring or maintain an action in any court in this state for the recovery of a money judgment as compensation for services rendered in listing, buying, selling, renting, leasing or exchanging of any real estate without alleging and proving that such person, partnership, association or corporation was licensed when the alleged cause of action arose.
Okla. Stat. tit. 59, § 858-311