Notwithstanding any other law to the contrary, the social security number of any individual who is subject to a divorce decree, order of support issued by any court, any order of paternity or legitimation, or any voluntary acknowledgment of paternity shall be placed in the records relating to such matter.
T.C.A. § 36-5-1302