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.