The gas-phase mass-metallicity relation for massive galaxies at z ~ 0.7 with the LEGA-C survey