We will hard-deprecate this function before the branch cut in April 9th. So this needs to be fixed by that time. Here is an example of adoption in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/GrowthExperiments/ /1008851/2/includes/Mentorship/Store/DatabaseMentorStore.php
This also implies queries done in those areas need to switch to SelectQueryBuilder which is not currently possible because ICampaignsDatabasedoesn't support ::newSelectQueryBuilder(). I wanted to do the work myself but due to these complexities, I'm not going to.