The crew acted swiftly and informed the pilot, who immediately contacted Air Traffic Control to request clearance for an emergency diversion and landing.