Add mutex to persistent storage PiperOrigin-RevId: 903898081 Change-Id: I1d5904265d621f4870deb00a237d9069c83a640b