1. A method of inserting DRM features into an app during a process of securing the app on a mobile device, the method comprising: inserting DRM features into the app via an app wrapping process, by the mobile device, using a key share that has a data lease and that is split into two portions, a first portion residing in a trusted execution environment on the mobile device, wherein the trusted execution environment cannot be tampered or examined by external entities, the app wrapping process comprising: segmenting an app into a first plurality of logical modules, wherein a logical module varies in size and is a segment of app code for a particular function, said segmenting triggered automatically when the app is secured on the mobile device; creating a second plurality of logical modules based upon a determination of which modules from the first plurality of logical modules perform high security functions; and bundling the app so that the app has the first plurality of logical modules and the second plurality of logical modules; and executing the app, wherein the first plurality of logical modules execute in the operating system of the mobile device and the second plurality of logical modules execute in the trusted execution environment so that break points cannot be inserted into the app code.