Remove the CDClientDatabase::ExecuteQueryWithArgs() function and replace it with CDClientDatabase::CreatePreppedStmt(). This prevents a developer from accidently using %s, or incorrectly passing std::string, and causing a silent error.
Using CDClientDatabase::ExecuteQueryWithArgs() across all known lookups.
Have fun!