The German approach doesn't give your information to a German centralized info store, but apparently it does require agreeing to feed your location data to Google's own databases on Android devices:
https://www.nytimes.com/2020/07/20/technology/google-covid-t...