QSO absorption lines and the time scale for initial heavy element enrichment in galaxies