CIT Lore Confusion

My goal is to make a resource pack that can turn items with lore of a emoji name into a emoji texture, I don't know why its not working. The images attached are for reference, please help.

Continue to help post