It does matter if the words are different. It also matters whether the entities operating under the trademark are in the same competitive space. This is why I could make a cosmetics line called “Apple” and Apple computers couldn’t stop me.
This is a list of live trademarks that contain the words “Safe Network” followed by a list of trademarks containing “SafeNet”. Interestingly enough, no one has trademarked “SafeNetwork” yet.