The social network has pushed back against consumer-focused legislation in places like Illinois and California.