Early-Warning-Driven Approach for Network Protection Against Earthquakes