Context: I am visiting a high school friend. Another friend who we both knew in high school has posted some interesting things recently. This friend has changed their name, but the friend I am visiting is not following them and is not aware of their transition.
How do I bring up this friend without dead naming them?
When this person comes up in conversation just say something like "oh, I dunno if you heard, but {dead name} transitioned; {he/she/they/etc} go by {chosen name} and use {pronouns}"
That is not a harmful use of their dead name; it's informative and prevents the use of their dead name in the future, since all conversation from that point on will use their chosen name.
(Obviously don't do this if someone is not out publicly, or there are safety concerns)