Sinorhizobium meliloti YrbA binds divalent metal cations employing a couple of preserved histidines.