(a) Where execution from a court of record or a general sessions court is returned satisfied, in whole or part, by the sale of property of the defendant, and the plaintiff in the judgment shall establish that no title to the property so sold was obtained, the plaintiff may have the satisfaction of the judgment set aside, and the judgment or decree revived by scire facias.
(b) The scire facias may be obtained on affidavit of the plaintiff, the plaintiff's agent or attorney, setting forth the facts of the sale and want of title to the property so sold, and shall be served, returned, and heard together, with proof upon the question of title, as in other cases.
(c) If it shall appear at the trial that the defendant's title to the property at the time of the purchase was good and valid, the proceedings shall be dismissed with costs, as in other cases.
(d) This section shall apply to judgments and decrees for costs, upon affidavit of any party interested in the costs.
(e) In case the sheriff or other officer making the sale shall not have taken any bond of indemnity, and the defendant in the execution shall proceed against the sheriff and other officer and recover judgment, the sheriff and other officer shall be substituted to the rights of the plaintiff under this section.