Legally, they do. Online sportsbooks and casinos will use the last 4 digits of your SSN to confirm your identity. It's used to verify that all of the information you've provided is accurate.