I agree that we have (not all of us) forgoten our origin. However, it is not like a physical memory in the brain, in never was in the mind. Although one could argue that. If you remember something they you will realize that you had forgotten. But if you don't remember then you can be sure of neither.
Anyway, my point is, what has been long known that humans are not bound by the physical. We have five natures/aspects of which physical is only one of them. Mind and memory are part of the physical aspects, so this knowledge of our spiritual nature does not originate from the physical mind, but from the other (non-physical) dimensions of the human being. Of course, once you realize it gets recorded in the physical memory as well and becomes a conscious thought or belief.