Scenario-based Route Planning to Safeguard Automotive Driving Functions