You are right, you need an attorney NOW. Given your facts, you face jail along with a renewed order to pay. The judge could also find you in civil contempt and able to pay and place you in jail until you pay up (however long that takes).
It may be possible to work out a payment plan with your ex to get current and in compliance with other terms of your obligations and avoid a conviction or jail time. That will depend on your ex's willingness to work with you. I suggest you start exploring your options to get as much of the arrearage together as quickly as possible.
This answer does not constitute legal advice nor form an attorney client relationship. I am not your lawyer. If you have a legal issue in Tennessee you may contact me for a free consult.