EE: Resolve EE differences in the lib/ directory
What does this MR do?
This resolves the remaining differences between CE and EE in the lib/ directory.
This fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/13335
CE MR: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31582
Does this MR meet the acceptance criteria?
Conformity
Edited by Yorick Peterse