Hi and welcome.
I don't think I can help you much, but can you tell us what you found underneath the bits where the gold flaked off?
Is there a kind of raised line of yellow or white stuff that the gold had been attached to?
Knowing what you found the gold came off from, might help others to help you.
It would help us to work out how it was put on in the first place.