Trapping hydrogen with a bimetallic interface