Any person owning land that is wild and unimproved or land that is in the actual possession of himself or herself or those claiming under him or her which has, at any time, been deeded, granted, donated, or subscribed to any railroad under the provisions of an act of the General Assembly entitled, “An act in aid of internal improvement”, approved April 8, 1869, or acts amendatory and supplemental thereto, or land that is claimed to have been, at any time, deeded, granted, donated, or subscribed to any railroad under the provisions of those acts, may have his or her title thereto confirmed and quieted as against the railroad, its successors and assigns, and as against any persons so deeding or claiming to have deeded, granted, donated, or subscribed the land, or their heirs and assigns, and any and all persons claiming by, through, or under them, or either of them, by proceeding in the manner provided in this subchapter.