Where the costs in any case in a court of record, or before a judge of the court of general sessions, are adjudged against a party, judgment shall be rendered jointly against the party and the party's sureties, but the execution issued on the costs shall be collected from the party, if it can be. If execution cannot be collected from the party, then it shall be collected from the sureties. Execution issued against an attorney as surety, for security taken or recorded after July 1, 1999, shall collect only the amounts required by law or included in the clerk's bill of costs, and shall not include discretionary costs.
T.C.A. § 20-12-136