I'm a transgender woman and thus I have two names. My deadname (legal name) I use for official documents, like my contract with my employer. My real name is what I use in daily life. I was the first person to pose this problem to my employer and they acted quick to stitch everything up to display the right name.
This talk discusses when the stitches broke and my deadname leaked out and the anxiety this caused. The fallout of that incident, I notice to this day.