How is it Possible to Measure Electrode Potential?
It is the same as measurement of voltage difference at any electronic circuit. The fact the metallic measuring points are attached to electrochemical electrodes is not relevant here.
Yes, there is metal contact potential difference, but it very low and very probably mutually canceling.