Acts as a plasma-membrane magnesium transporter. Can also mediate the transport of other divalent metal cations in an order of Ba(2+) > Ni(2+) > Co(2+) > Fe(2+) > Mn(2+).
Subcellular locations: Cell membrane