As the state-of-the-art technology in the areas of IoT, battlefield surveillance, medical, military applications, and so on, the Mobile Wireless Sensor Network (MWSN) has attracted the attention of vendors and academics in recent years.In MWSN, energy optimization is the major issue because of its dynamicity property. The energy optimization can be achieved by avoiding node compromise attacks and ensuring secured data transmission in the network. In this paper, an algorithm SDCH-M (Secured Data for Mobile Clustering Hierarchy) is proposed to ensure secure data delivery in a double cluster head hybrid topology, which optimizes the network energy consumption. Data redundancy is reduced by estimating spatial-temporal correlation factors, and the variantround voting mechanism is used to verify the accuracy of delivered data and to identify compromised nodes through voting by the base station. Results from the simulation show that the proposed SDCH-M algorithm optimizes energy than M-LEACH and C-LEACH algorithm. The average delivery ratio of SDCH-M (DCH), SDCH-M (SCH), E 2 RP, M-LEACH, and C-LEACH are 0.9175, 0.9037, 0.828, 0.799, and 0.681, respectively. The average delay of M-LEACH, C-LEACH, E 2 RP, SDCH-M (DCH), and SDCH-M (SCH) algorithms is 6.851, 8.655, 6.3, 5.585, and 5.97 s, respectively.