[entropy.db.sqlite] add preserved_libs related methods for backward schema compat