(a) Whenever 1 or more of several codebtors or cosureties for the payment of a debt shall pay or shall have paid to the creditor or creditors the sum due, including the costs, if any, that may have been incurred by them, the person or persons so paying, if the amount paid shall exceed their proportion of liability for the demand, shall be entitled to have a transfer of the creditor's or creditors' securities for the payment of the debt, whatever the nature of such securities may be, to enable him or her or them to obtain contribution from the others, liable with himself or herself or themselves; such transfer may be made by assignment, marking to the use, or other appropriate method.
(b) When such transfer is made, the transferee or transferees shall be entitled to and shall have in his or her or their own name or names as such, or by and in the name of such creditor or creditors, for his or her or their own use as transferee or transferees, all and singular the remedy or remedies against the other debtor or debtors, surety or sureties which the creditor or creditors could have; and no such payment shall in anywise operate to discharge, impair or otherwise affect the securities held by the creditor or creditors to the prejudice of the debtor or debtors, surety or sureties, so paying; nor shall any release of such codebtor or codebtors, cosurety or cosureties, or entry of satisfaction upon any lien against him or her or them operate in any respect as a payment or discharge of the demand itself or of any of the securities therefor as against the other parties originally bound, to the end that such codebtor or codebtors, cosurety or cosureties may recover by the use of the creditor or creditors' means or remedies the proportion of the demand which the codebtor or codebtors, cosurety or cosureties ought to pay according to law and equity.
(c) The transfer to be made by the creditor or creditors shall not enable the transferee or transferees to take any legal proceedings against the codebtor or codebtors, cosurety or cosureties, unless such transferee or transferees, or some creditable person for him or her or them, shall first file in the office of the Prothonotary or justice of the peace of the county where legal proceedings are contemplated to be taken an affidavit, setting forth the amount which he or she claims his or her or their codebtor or codebtors, cosurety or cosureties is or are bound to contribute on account of such coindebtment or cosuretyship, and such amount shall be endorsed by the Prothonotary or magistrate upon the process issued.