Metastable dark matter mechanisms for INTEGRAL 511 keV $\gamma$ rays and DAMA/CoGeNT events