Update: It turns out, even though enabling the service will bring up a message saying device encryption will be deactivated, you can still go back to your screen lock and reenter your pin/password again to reactivate the device encryption. Heres a link with further info https://forum.xda-developers.com/nexus-6p/help/warning-how-accessibility-services-t3265174. Im closing the issue but ill leave this message here for posterity
Update: It turns out, even though enabling the service will bring up a message saying device encryption will be deactivated, you can still go back to your screen lock and reenter your pin/password again to reactivate the device encryption. Heres a link with further info https://forum.xda-developers.com/nexus-6p/help/warning-how-accessibility-services-t3265174. Im closing the issue but ill leave this message here for posterity