I took a look and the items in the trash are definitely from Photos. They look to mostly be what are called "derivative" resources, like cached thumbnails and such. The files tend to be fairly volatile, so there is a lot of churn with deletes and adds.
It looks like you have a few "sync to odrive" folders and one is targeting your Pictures folder, which is where your Photos Library.photoslibrary is located. There isn't currently a way to specify exclusions within a folder. The only way to produce an exclusion is if you rename the item with a "ignored" name, like adding a ~ character to the beginning of the name. So, for example, rename "Photos Library.photoslibrary" to "~Photos Library.photoslibrary".
If you want to go this route, I would recommend making a local backup of the library, just in case, and make sure Photos is closed before doing so. The rename should work just fine, but you may need to tell the Photos app where the library went. In my own test, Phltos actually just found the renamed file without any prompting the next time I started it up. This is probably because it is the only photo library in my Pictures folder.