Okla. Stat. tit. 15, § 109
If any part of a single consideration for one or more objects, or of several considerations for a single object, is unlawful, the entire contract is void.
R.L. 1910, § 929.