Section 1. Be it enacted, &c., That in all cases where a bond and mortgage, or any other obligation securing or guaranteeing the payment thereof, is or has been given for the same debt, the real property, bound by such bond and mortgage, shall first be proceeded against and sold on execution, and the amount of the deficiency judgment ascertained, as hereinafter provided, before any other real property of the mortgage debtor may be attached, levied on or sold for the debt secured by such bond and mortgage, and before any property, real or personal, of any such other person may be sold for the debt secured by such bond and mortgage.