Replace SC_Query with DB at class Model\Order\Order.
Use namespace.
Replace SC_Query with DB at class Model\Order\Shipping.