We take the required potential as the sum of the potential changes required for both the probe and the sample, from their rest potentials to the standard potentials of the respective half reactions. As these are etching processes at acidic pH we consider metal oxidation on the substrate and the hydrogen evolution reaction (HER) at the probe, with a pH-dependent potential EHER = 0-60 mV*pH.