Go to Google Cloud Console
Select your project
Navigate to "APIs & Services" → "Library"
Search for and enable:
Google Play Integrity API
SafetyNet API
you can enable or disable it here