def METHOD_NAME(self):
    constants_to_scrub = ["SUBSCRIPTION_ID", "TENANT_ID"]
    for key in constants_to_scrub:
        key_value = self.get_settings_value(key)
        if key_value and hasattr(self._fake_settings, key):
            self.scrubber.register_name_pair(key_value, getattr(self._fake_settings, key))