34-4-112. Costs and expenses; attorney's fees.
Whenever an attorney's fee is provided for in any real or chattel mortgage, or the note or notes secured thereby, such attorney's fee shall not be allowed or added to the mortgage debt in any foreclosure by public advertisement and sale, unless it shall appear by the affidavit of an attorney admitted generally to practice in this state representing the mortgagee or his assigns in such foreclosures, or the party instituting such foreclosure, which affidavit shall be filed with the sheriff or person who shall conduct the sale under such foreclosure, and said affidavit shall state therein that there has been and is no agreement, express or implied, between such attorney and his client, nor between him and any other person except a practicing attorney of this state engaged with him as an attorney in the foreclosure proceeding, for any sharing or division of said fee so to be allowed or added to the debt involved, and said fee when so allowed or added to the debt shall be only as compensation for services actually rendered in the foreclosure proceeding by an attorney admitted to practice in this state and residing therein. Provided, however, that in the foreclosure of real estate mortgages, this section shall in no wise affect the title to the real estate involved in such a foreclosure.