Device-to-device (D2D) communication is an emerging paradigm that can improve system capacity and spectral efficiency by using cooperative communication coexisting with cellular networks. In spite of these advantages, D2D communication suffers from unfair resource usage, security risks posed by eavesdroppers, and limited energy storage. To deal with these issues, in this paper, we propose a resource allocation algorithm to maximize the security-aware energy efficiency (EE) for D2D users (DUs) in a simultaneous wireless information and power transfer (SWIPT)-enabled D2D communication system with α fairness, where multiple random eavesdroppers are present. In particular, we formulate a multi-objective resource allocation problem by jointly optimizing the transmit power, power-splitting (PS) factors of DUs, and the sub-channel allocation factor under multiple constraints, including the maximum interference power for each cellular user, the maximum transmit power of each DU, the PS factor, and the integer sub-channel assignment. To solve the non-convex problem, an iterative algorithm is developed to obtain the sub-optimal solution. Simulation results verify that the proposed algorithm outperforms benchmark algorithms in terms of balancing secrecy EE and fairness.