I'd use the first wish to remember who I am.
Then I'd use the second wish to undo the first wish.
Finally, having lost my memory of the first two wishes and confused about the whole situation, I'd wish to remember who I am.
I'd use the first wish to remember who I am.
Then I'd use the second wish to undo the first wish.
Finally, having lost my memory of the first two wishes and confused about the whole situation, I'd wish to remember who I am.