As far as I know they are not transferable from one car to another without loads of hassle and expense from nissan (if they will do it).
They are programmed to the car from factory, probably best to buy a branded replacement or you can remove the cd part from them both and swap the good cd part into your stereo, that works.