If public security organs need to inquire about renting information, they generally need to produce relevant legal documents and procedures, such as court investigation orders and public security organs' investigation reports. At the same time, public security organs also need to abide by relevant laws and regulations and the principle of protecting personal privacy when inquiring about rental information.
In short, as long as the public security system meets the legal procedures and authority requirements, it can query the rental information of people. However, if you are worried about your personal privacy, I suggest you properly protect your personally identifiable information and consult a professional.