>while not violating anyone's freedom
Compelled speech is a bright line violation. There are very few scenarios where it is allowed by American precedent, and a graduate's resume is absolutely not one.
Note that the legacy admission reporting required here is dependent on the universities accepting funding. The government requiring reports in exchange for funding is very different from compelling people at gun point to include information about their university on resumes.