Section 1. Be it enacted by the Senate and House of Representatives of the Commonwealth of Pennsylvania in General Assembly met, and it is hereby enacted by the authority of the same, That hereafter in all cases where the amount due on any mortgage or judgment entered of record, together with interest and cost, shall have been paid to the legal holder or holders thereof, and the judgment bond, or note, or mortgage, together with the accompanying bonds, if any, duly endorsed in the presence of two witnesses, that the same are satisfied and discharged, shall be produced to the prothonotary or recorder having charge of the records of such mortgages and judgments respectively, it shall be the duty of such officer, for the fee of seventy-five cents in the case of a mortgage, and twenty-five cents in the case of a judgment, to enter satisfaction on the record of such liens, and to file among the papers in their respective offices the judgment, notes, bills, mortgages and bonds respectively, which shall remain filed thereafter, for the benefit of all parties interested therein: Provided, That no such satisfaction shall be entered until after a certificate from the president judge or the district judge of the proper county, allowing the same, which certificate shall also be produced and filed with the papers as aforesaid.