If you get a legal name change, once it's done even your birth certificate is changed. Hr would never know.
Unless you’re applying for a job that’s high-profile (like VP or C-suite), or in a highly regulated industry, I wouldn’t expect this.
Plus you can probably contact your university registrar with your legal name change and ask them to update the transcript to the new name.