[Server][DataStoreEventProc] Change a define name.
[Server][DataStore] Inherit the UsedCountable class and Move the
destructor to the protected function.