Fix mutation activation

Mutation activation was broken by #9827 (mea culpa) because I was taking the address of a local variable, then dereferencing it after it went out of scope.
We didn't pick up on it because debug builds aren't as quick to reuse local variable storage as optimized (release) builds are.