Early metal enrichment of gas-rich galaxies at z~5 — arXiv2