Interplay of the Glass Transition and the Liquid-Liquid Phase Transition in Water