My father in law had a wire in his ear due to a defect in his stapes bone connected to his eardrum. He later had a brain injury and they could not do an MRI in fear of the wire either heating up or moving.
I guess cochlear implants would also prevent having an MRI done.