Given the amnesia didn't seem to affect Minfilia in particular, and that it appears Hydaelyn is the one who undoes it for everyone else, I would assume that she also was the one who did it to begin with.