Add compatibility code for renamed AI usage events
What does this MR do and why?
Fixes a bug where old buffered event names are not properly processed for writing from buffer to PG. No user facing changes.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #568027 (closed)