New strategy to effectively prevent component failures in metals