This is called Retroactive interference. It happens when a new learning interferes, modifies or eliminates information that we already had stored in the long-term memory. In this case, the learning of the new telephone number eliminated the memory of the telephone number learned before.
I hope my answer can help you.