Just like Overwatch 2, you'll need to attach a phone number to your Battle.net account to play Modern Warfare 2—and prepaid phones aren't allowed.
View more: Modern Warfare 2 has the same 'no prepaid phone' requirement as Overwatch 2