The first sentence is in the subjunctive mood (present tense). In the second, if you write " what your name was", it implies that you don't have the same name now as you did then. You have changed your name.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.