Good luck getting a replacement key fob from the dealer.  I’ve been waiting for a replacement under the extended warranty for three months.  They received the fob body but are waiting for the key portion of the fob to come back in stock.  Fortunately, I did get two fobs when I purchased the vehicle.  YMMV