Decay of 7Be in metallic environment