Text this: On the Use of Lie Group Homomorphisms for Treating Similarity Transformations in Nonadiabatic Photochemistry