Codeswitch

Verb

Involves adjusting one’s style of speech, appearance, behavior, and expression in ways that will optimize the comfort of others in exchange for fair treatment, quality service, and employment opportunities. The act of code-switching often centers around members of target groups code-switching to minimize the impact of bias from the dominant group.

This is most often used in adjusting language and behavior to assimilate with the majority culture or participate in an ethnic subgroup or subculture.

Source

Harvard Business Review: The Costs of Codeswitching
The National Leadership Honor Society: DEI Glossary