SpecialUnlockdb: Use Config instead of globals

Change-Id: Id6e2c0511113b24a7f90a7e3d50ab9b0f787f356
SpecialSearch: Use Config instead of globals

Change-Id: I18b3ad47497e9bc82d38bc17225c8e0e9268ba83
Merge "SpecialUnlockdb: Use Config instead of globals"
Merge "SpecialSearch: Use Config instead of globals"