Move an orphaned analytics reference under a mutex

Bug: 167695677
Bug: 151644303
Test: poc from bugs
Merged-In: I75f29a6254c5eab5d4f524ee7a7ef59f93a0b405
Change-Id: I0a5a532e9e96baf95efc2b82dba07adc7baf4930
(cherry picked from commit 8e4dd95f57ac2f3e675527ec7c77977889dc3cb3)
1 file changed