The later a star system is formed, the more likely it is to be metal-rich, because more preceding stars will have lived and died and seeded their surroundings, from which the new star system forms, with metals

So there's no "the metal will run out" process going on, outside of radioactive elements