They'll just scan the serial number when it passes through the x-ray machine, then use some OCR script to process the image and upload it to https://support.apple.com/15-inch-macbook-pro-battery-recall /s
(To be clear I’m not arguing with the poster I’m directly responding to. Just trying to think through this process like the OP mentioned.)