not a teacher
Both "safety" and "security" relate to the person being loved.
I don't think there is a great deal of difference in this context. However, maybe it could be argued that while "safety" is about protection, "security" implies that the situation of being protected is ongoing and stable.
- For Teachers