Representations on the cohomology of hypersurfaces and mirror symmetry