In all cases where there is a recovery of land or any interest therein, adverse to any warranty deed thereto, the judgment by which such recovery is had shall not be effective, or become the basis of an action, against previous grantors, other than those who are parties thereto, or have been notified in writing of the pendency thereof twenty (20) days before such judgment is entered.
Okla. Stat. tit. 16, § 22