> I couldn’t remember the term.
That's lethologica! Or maybe in this specific case lethonomia. [0]
[0] https://en.m.wikipedia.org/wiki/Tip_of_the_tongue