Lattice defects dominating hydrogen-related failure of metals